package com.idstaa.bean;

import com.idstaa.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ConsumerComponent {
    @Reference
    private HelloService helloService;
    public  String sayHello(String name){
        return helloService.sayHello(name) ;
    }
    public  String sayGood(String name){
        return helloService.sayGood(name) ;
    }
    public  String sayOk(String name){
        return helloService.sayOK(name) ;
    }
}
